How to mark and queue
Daniel Bergqvist [email protected]
<PRE>Before I found out about traffic control in the Linux kernel I used the
rshaper module: <A HREF="http://freshmeat.net/news/1999/11/02/941520726.html.">http://freshmeat.net/news/1999/11/02/941520726.html.</A> You might find it useful to drop packets. The rshaper module shapes
incomming traffic depending on the destination ip address but it is easy to
change it to only drop some packets according to a drop function.
If you are unsure about how to make the necessary changes to the module I might help you, if you provide me with the algorithm for the packet drop function.
Regards,
Daniel
><i> Från: <A HREF="mailto:[email protected]">[email protected]</A> [mailto:<A HREF="mailto:[email protected]">[email protected]</A>]För </I>><i> Josip Gracin
</I>><i>
</I>><i> Daniel Bergqvist (<A HREF="mailto:[email protected]">[email protected]</A>) wrote:
</I>><i> > How do you want the packets be dropped? What do you want to
</I>><i> achieve? Which
</I>><i> > rules will control which packets get dropped?
</I>><i>
</I>><i> We have performed some measurements of packet drops on real WAN link. I
</I>><i> would like to reproduce the characteristics of (congested) WAN link/router
</I>><i> as close as possible. Rules for dropping will not be based on packet
</I>><i> contents but on a random variable with certain distribution which in turn
</I>><i> depends on parametars such as packet size (e.g. for voice traffic).
</I>><i>
</I>><i> Josip
</I>><i>
</I>><i>
</I>
</PRE>